tenant      = "hi"
tenant_name = "哈哈"
region      = "cn-hangzhou"

ram_name = "hi"

// VPC Vars
vpc_name        = "hi"
vpc_description = "上海老干妈有限公司"
vswitch_name    = "hi"

// MySQL Vars
rds_instance_name    = "hi"
rds_instance_type    = "rds.mysql.s1.small" // rds.mysql.s2.large
rds_instance_storage = 50
rds_databases = [
  { name = "pipeline", character_set = "utf8", description = "pipeline" },
  { name = "devops", character_set = "utf8", description = "pipeline" },
]
rds_accounts = [
  { name = "devops", password = "1234abc", type = "Normal", privilege = "ReadWrite", databases = ["pipeline"] }
]

// ECS Vars
ecs_number                 = 3
ecs_name                   = "hi"
ecs_host_name              = "hi"
ecs_cpu                    = 1
ecs_memory_size            = 1
ecs_instance_type_family   = "ecs.n1" // ecs.c5
internet_max_bandwidth_out = 1

// SLB Vars
virtual_server_group = [
  {
    name : "ebike"
    virtual_server : [
      { server_ids = 1, port = 80 },
      { server_ids = 2, port = 8087 },
      { server_ids = 3, port = 8087 },
    ]
  },
  {
    name : "ebike-high"
    virtual_server : [
      { server_ids = 1, port = 80 },
      { server_ids = 2, port = 8087 }
    ]
  },
  {
    name : "worker"
    virtual_server : [
      { server_ids = 1, port = 80 },
      { server_ids = 2, port = 8087 }
    ]
  },
  {
    name : "mbserver"
    virtual_server : [
      { server_ids = 1, port = 80 },
      { server_ids = 2, port = 8087 }
    ]
  },
  {
    name : "device"
    virtual_server : [
      { server_ids = 1, port = 9880 }
    ]
  }
]